Currently, it is possible to set the mem-max value to value lower than
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 15 Apr 2006 08:47:55 +0000 (09:47 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Sat, 15 Apr 2006 08:47:55 +0000 (09:47 +0100)
commit16d1b5e9db9ef32de5677959a6639d94ce4c07fc
tree78589367f7276fa8286e78d0bd6a87c8293b0f18
parentabd30192c04df508da0c4c3d7803c95125a59e51
Currently, it is possible to set the mem-max value to value lower than
what has been currently allocated to the domain causing the kernel to
crash. This patch validates the value passed in and prevents setting the
value below the current allocation level.

Signed-off-by: ksrinivasan@novell.com
xen/common/dom0_ops.c